<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数字列表</title>
    <link rel="stylesheet" href="../css/bootstrap4.5.min.css">
    <link rel="stylesheet" href="../css/public.css">
    <script src="../js/jquery-3.5.1.min.js"></script>
    <script src="../js/bootstrap4.5.min.js"></script>
    <script src="../js/jquery.countup.min.js"></script>
    <script src="../js/index.js"></script>
    <script src="../js/jquery.waypoints.min.js"></script>
</head>
<style>
    .number_list_list {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .number_list_list img {
        width: 100%;
        height: 100%;
    }


    .number_list_left {
        width: 50%;
    }

    .number_list_left .number_list_img>img {
        height: 250px;
    }

    .number_list_right .number_list_img>img {
        height: 500px;
    }

    .number_list_right {
        width: 50%;
    }

    .number_list_text {
        text-align: center;
        position: absolute;
        top: 40%;
        left: 0;
        right: 0;
    }

    .number_list_left ul li {
        position: relative;
    }

    .number_list_right {
        position: relative;
    }

    .number_list_text>p:nth-child(1) {
        font-size: 45px;
        line-height: 66px;
        color: #fff;
    }

    .number_list_text>p:nth-child(2) {
        padding: 0 20px;
        font-size: 14px;
        color: #B1A7A7;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    @media(max-width:1200px){
        .number_list {
        padding: 30px 0;
        border: 1px solid red;
    }

    }
    @media(max-width:900px){
     
    .number_list_list {
        display: flex;
        flex-wrap: wrap;
    }
    .number_list_left {
        width: 100%;
    }

    .number_list_left .number_list_img>img {
        height: 300px;
    }

    .number_list_right .number_list_img>img {
        height: 300px;
    }

    .number_list_right {
        width: 100%;
    }
    .number_list_text>p:nth-child(1) {
        font-size: 30px;
        line-height: 55px;
    }

    .number_list_text>p:nth-child(2) {
        font-size: 12px;
    }
    }
    @media(max-width:500px){
    .number_list_left .number_list_img>img {
        height: 250px;
    }

    .number_list_right .number_list_img>img {
        height: 250px;
    }
    .number_list_text>p:nth-child(1) {
        font-size: 24px;
        line-height: 36px;
    }
    }
</style>

<body>
    <div class="number_list modular">
        <div class="number_list_list public_width">
            <div class="number_list_left">
                <ul>
                    <li>
                        <div class="number_list_img"><img src="../images/number_1.jpg" alt="">
                        </div>
                        <div class="number_list_text">
                            <p class="counter">1999</p>
                            <p>成立Advertising</p>
                        </div>
                    </li>
                    <li>
                        <div class="number_list_img"><img src="../images/number_2.jpg" alt="">
                        </div>
                        <div class="number_list_text">
                            <p class="counter">2005</p>
                            <p>我们为您提供专业设计解决方案通过研究商业模式来定义品牌模式提供优秀的品牌整合解决方案</p>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="number_list_right">
                <div class="number_list_img"><img src="../images/number_3.jpg" alt="">
                </div>
                <div class="number_list_text">
                    <p class="counter">400</p>
                    <p>作品works</p>
                </div>
            </div>
        </div>
    </div>
</body>

</html>